<template>
  <Swiper>
    <SwiperSlide v-for="item in imgList" :key="item">
      <img :src="item" alt="" />
    </SwiperSlide>
  </Swiper>
</template>

<script setup lang="ts">
//@ts-ignore
const basePath = import.meta.env.BASE_URL
console.log('basePath', basePath)
const imgList = new Array(4).fill(true).map((_, index) => `${basePath}swiper-pic/0${index + 1}.jpg`)
</script>

<style scoped lang="scss"></style>
